$gameStateTransition: .2s ease-out;

@mixin StateAnim($properties...) {
  transition: all $gameStateTransition;
  transition-property: $properties;
}

.gameState{
  display: block;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden !important;
  @include Text;
  @include StateAnim(opacity, transform, filter);
  opacity: 0;

  &.arrived{
    opacity: 1;
    filter: none !important;
    transform: none;
  }
}